# For more information about using CMake with Android Studio, read the
# documentation: https://d.android.com/studio/projects/add-native-code.html

# Sets the minimum version of CMake required to build the native library.

#编译成静态库
cmake_minimum_required(VERSION 3.4.1)

#后面的-D是定义参数
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DNO_CRYPTO")
add_library( # Sets the name of the library.
        rtmp

        STATIC
        amf.c
        hashswf.c
        log.c
        parseurl.c
        rtmp.c
        )
